package org.discala.samples.complex.chef.appliance

import org.discala.samples.complex.domain.Duration._

/**
 * @author Chris Turner
 */
private[chef] class Oven extends Appliance {
  def describeResult(duration: Duration) = {
    duration match {
      case Short => "A gently baked "
      case Medium => "A well roasted "
      case Long => "A welded "
    }
  }
}
